package com.youlai.boot.system.converter;

import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.youlai.boot.system.model.entity.ProcessRecord;
import com.youlai.boot.system.model.form.ProcessRecordForm;

/**
 * 处理记录对象转换器
 *
 * @author youlaitech
 * @since 2025-02-28 16:53
 */
@Mapper(componentModel = "spring")
public interface ProcessRecordConverter{

    ProcessRecordForm toForm(ProcessRecord entity);

    ProcessRecord toEntity(ProcessRecordForm formData);
}